import axios from 'axios';

const getGithubInfo = () => {
  return axios.get('/api/users')
}

const getUserInfo = (username) => {
  return axios.get(`/api/users/${username}`)
}

export {
  getGithubInfo,
  getUserInfo,
}